#!/bin/bash 

case $1 in 
1)
    echo "这是功能1"
;;
2)
    echo "这是功能2"
    ;;
*)
    echo "defult"
    ;;
esac

